package com.mm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.mm.BaseSupper.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author wdx
 * @since 2020-09-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mm_dictionary")
@ApiModel(value="MmDictionary对象", description="字典表")
public class MmDictionary extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "字典名称")
    @TableField("dictionary_name")
    private String dictionaryName;

    @ApiModelProperty(value = "字典类型")
    @TableField("dictionary_type")
    private String dictionaryType;

    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private String sort;


    public static final String DICTIONARY_NAME = "dictionary_name";

    public static final String DICTIONARY_TYPE = "dictionary_type";

    public static final String SORT = "sort";

}
